package com.givemepass.FragmentTabs;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;

public class Fragment2Tab2InquryDetail extends Fragment {
	
	private String account;
	private String act_no;

	private ListView mListView;
	private String name;
	private String gender;
	private String birthday;
	private String company;
	private String telephone;
	private String mail;
	private String addr;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View v = inflater.inflate(R.layout.fragment2_tab2_inqury_detail, container, false);
		
		name = getArguments().getString("name");
		gender = getArguments().getString("gender");
		birthday = getArguments().getString("birthday");
		company = getArguments().getString("company");
		telephone = getArguments().getString("telephone");
		mail = getArguments().getString("email");
		//addr = getArguments().getString("address");
		
		TextView actName = (TextView)v.findViewById(R.id.name);
		actName.setText(name);
		TextView actGender = (TextView)v.findViewById(R.id.gender);
		actGender.setText(gender);
		TextView actBirthday = (TextView)v.findViewById(R.id.birth);
		actBirthday.setText(birthday);
		TextView actCompany = (TextView)v.findViewById(R.id.company);
		actCompany.setText(company);
		TextView actTel = (TextView)v.findViewById(R.id.tel);
		actTel.setText(telephone);
		TextView actMail = (TextView)v.findViewById(R.id.mail);
		actMail.setText(mail);
		//TextView actAddr = (TextView)v.findViewById(R.id.addr);
		//actAddr.setText(addr);
		
		return v;
	}
}